﻿//  Copyright (c) 2011 Ray Liang (http://www.dotnetage.com)
//  Licensed MIT: http://www.opensource.org/licenses/mit-license.php

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DNA.Mvc.Exporting
{
    public abstract class ExporterFilter:ICommandFilter
    {
        public abstract bool ShouldExecute(Exporter exporter);

        bool ICommandFilter.ShouldExecute(ICommand command)
        {
            return this.ShouldExecute((Exporter)command);
        }
    }
}
